home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 January / PCWorld_2007-01_cd.bin / v cisle / hotkey / AutoHotkey104504_Install.exe / Extras / AutoHotkey.def < prev    next >
Text File  |  2006-11-04  |  40KB  |  1,349 lines

  1. ;;; ==================================================================
  2. ;;;   PSPad clip definition file for AutoHotkey
  3. ;;;   Language:       English
  4. ;;;   AUTHOR(s)       beardboy, GoGoGadgetScott
  5. ;;;   VERSION:        1.1.1, 04/19/2004 - 02/08/2005
  6. ;;;                   Kept updated with new syntax upon each new
  7. ;;;                   AutoHotkey release. Please send corrections and
  8. ;;;                   improvements to support@autohotkey.com
  9. ;;; ==================================================================
  10. ;;;   HISTORY:
  11. ;;;    1.1.1
  12. ;;;     - Added a few missing spaces in command descriptions.
  13. ;;; ==================================================================
  14. ;;; G (green)       - PHPad hotkeys
  15. ;;; R (red)         - File, Directory, and Disk Management
  16. ;;; F (fuchsia)     - GUI, MsgBox, InputBox & Other Dialogs
  17. ;;; M (maroon)      - Keyboard & Mouse Control
  18. ;;; D (dark gray)   - Process Management
  19. ;;; N (navy)        - String Management
  20. ;;; P (purple)      - Window Management
  21. ;;; B (blue)        - Directives
  22. ;;;   (black)       - Misc. & Unsorted Commands
  23. ;;; ==================================================================
  24. ;
  25. ;
  26. ; --------------------------------------------------------------------
  27. ;                               Macro definition
  28. ; --------------------------------------------------------------------
  29. [Macro definition]
  30. ; Directives
  31. %AllowSameLineComments%=@K AllowSameLineComments:,#AllowSameLineComments
  32. %ClipboardTimeout%=@E ClipboardTimeout (ms):,#ClipboardTimeout ,
  33. %CommentFlag%=@C Comment String:,#CommentFlag ,,"//";"@";"!";"/";"*;";"C*"
  34. %ErrorStdOut%=@K ErrorStdOut:,#ErrorStdOut
  35. %EscapeChar%=@C Escape Char:,#EscapeChar ,,"\";"`"
  36. %HotkeyInterval%=@E HotkeyInterval (ms):,#HotkeyInterval ,
  37. %HotkeyModifierTimeout%=@E HotkeyModifierTimeout (ms):,#HotkeyModifierTimeout ,
  38. %Hotstring%=@C Hotstring:,#Hotstring ,,"-()[]{}':;""/\,.?!`n `t";"`n `t";"-()[]{}"
  39. %IfWinActive%=@E IfWinActive:,#IfWinActive
  40. %IfWinExist%=@E IfWinExist:,#IfWinExist
  41. %IfWinNotActive%=@E IfWinNotActive:,#IfWinNotActive
  42. %IfWinNotExist%=@E IfWinNotExist:,#IfWinNotExist
  43. %Include%=@O Include:,#Include ,SomeFile.ahk,AutoHotKey Scripts (*.ahk)|*.ahk
  44. %IncludeAgain%=@O IncludeAgain:,#IncludeAgain ,SomeFile.ahk,AutoHotKey Scripts (*.ahk)|*.ahk
  45. %InstallKeybdHook%=@K InstallKeybdHook:,#InstallKeybdHook ,
  46. %InstallMouseHook%=@K InstallMouseHook:,#InstallMouseHook ,
  47. %KeyHistory%=@E MaxEvents (num):,#KeyHistory ,
  48. %LTrim%=@C LTrim:,#LTrim ,,"On";"Off"
  49. %MaxHotkeysPerInterval%=@E MaxHotkeys/Interval (num):,#MaxHotkeysPerInterval ,
  50. %MaxMem%=@E MaxMem (MB):,#MaxMem ,
  51. %MaxThreads%=@E MaxThreads (num):,#MaxThreads ,
  52. %MaxThreadsBuffer%=@C MaxThreadsBuffer:,#MaxThreadsBuffer ,,"On";"Off"
  53. %MaxThreadsPerHotkey%=@E MaxThreads/Hotkey (num):,#MaxThreadsPerHotkey ,
  54. %NoEnv%=@K NoEnv:,#NoEnv
  55. %NoTrayIcon%=@K NoTrayIcon:,#NoTrayIcon
  56. %Persistent%=@K Persistent:,#Persistent
  57. %SingleInstance%=@C SingleInstance:,#SingleInstance ,,"force";"ignore";"off"
  58. %UseHook%=@C UseHook:,#UseHook ,,"On";"Off"
  59. %WinActivateForce%=@K WinActivateForce:,#WinActivateForce
  60. ; mandatory elements
  61. %options%=@C MsgBox type:,,0,"1";"2";"3";"4";"5";"16";"32";"48";"64";"256";"512";"4096";"8192"
  62. %title%=@E Title:,,Title,,
  63. %label%=@E Label:,,Label,,
  64. %text%=@E Text:,,Message,,
  65. %wait%=@E Wait:
  66. %BlockInput%=@C BlockInput:,,,"On";"Off";"Send";"Mouse";"SendAndMouse";"Default";"MouseMove";"MouseMoveOff"
  67. %SetState%=@C State:,,,"On";"Off";"AlwaysOn";"AlwaysOff"
  68. %onoff%=@C Value:,,,"On";"Off"
  69. %onofft%=@C Value:,,,"On";"Off";"Toggle"
  70. %speed%=@C Speed:,,,"Fast";"Slow"
  71. %sound%=@O Filename:,,%SystemRoot%\Media\ding.wav,Auto file (*.wav;*.mp3;*.avi)|*.wav;*.mp3;*.avi
  72. %ValueType%=@C ValueType:,,,"REG_SZ";"REG_EXPAND_SZ";"REG_MULTI_SZ";"REG_DWORD";"REG_BINARY"
  73. %RootKey%=@C RootKey:,,,"HKLM";"HKU";"HKCU";"HKCR";"HKCC"
  74. %cmd%=@C Command:,,,"Exist";"Close";"Priority";"Wait";"WaitClose"
  75. %ButtonName%=@C ButtonName:,,,"Yes";"No";"OK";"Cancel";"Abort";"Ignore";"Retry";"TryAgain";"Continue";"Timeout"
  76. ; optional elements
  77. %timeoutoptional%=@E Timeout (s) (optional):
  78. ;
  79. ;
  80. ; --------------------------------------------------------------------
  81. ;                           PHPad hotkeys
  82. ; --------------------------------------------------------------------
  83. [Retrieve |G Retrievecontents of this variable]*Shift+Ctrl+R
  84. %º|%
  85. [Label |G name of the label or hotkey label]*Shift+Ctrl+L
  86. º|::
  87. [Hotstring |G name of the label or hotkey label]*Shift+Ctrl+H
  88. ::º::|
  89. ;
  90. ; --------------------------------------------------------------------
  91. ;                              Comments
  92. ; --------------------------------------------------------------------
  93. [Comment | Comment out lines]
  94. /*
  95. º|
  96. */
  97. ;
  98. ;
  99. ; --------------------------------------------------------------------
  100. ;                File, Directory, and Disk Management
  101. ; --------------------------------------------------------------------
  102. [Drive |R Ejects/retracts tray]
  103. Drive, Sub-command [, Drive , Value]
  104. [DriveGet |R Retrieves information about drive(s)]
  105. DriveGet, OutputVar, Cmd [, Value]
  106. [DriveSpaceFree |R Free disk space of drive (Megabytes)]
  107. DriveSpaceFree, OutputVar, C:\
  108. [FileAppend |R Appends text to file]
  109. FileAppend [, Text`n, Filename]
  110. [FileCopy |R Copies one or more files]
  111. FileCopy, Source, Dest [, Flag (1 = overwrite)]
  112. [FileCopyDir |R Copies folder along with all its sub-folders & files]
  113. FileCopyDir, Source, Dest [, Flag]
  114. [FileCreateDir |R Creates a folder]
  115. FileCreateDir, DirName
  116. [FileCreateShortcut |R Creates a shortcut (.lnk) file]
  117. FileCreateShortcut, Target, LinkFile [, WorkingDir, Args, Description, IconFile, ShortcutKey, IconNumber, RunState]
  118. [FileDelete |R Deletes one or more files]
  119. FileDelete, FilePattern
  120. [FileExist | Checks if file/dir exists]
  121. FileExist(FilePattern)
  122. [FileInstall |R Includes specified file inside compiled script]
  123. FileInstall, Source, Dest [, Flag (1 = overwrite)]
  124. [FileGetAttrib |R Whether file/folder is read-only, hidden, etc]
  125. FileGetAttrib, OutputVar(RASHNDOCT) [, Filename]
  126. [FileGetShortcut |R information about shortcut (.lnk) file]
  127. FileGetShortcut, LinkFile [, OutTarget, OutDir, OutArgs, OutDescription, OutIcon, OutIconNum, OutRunState]
  128. [FileGetSize |R Retrieves size of file]
  129. FileGetSize, OutputVar [, Filename, Units]
  130. [FileGetTime |R Retrieves datetime stamp of file or folder]
  131. FileGetTime, OutputVar [, Filename, WhichTime (M, C, or -- default is M)]
  132. [FileGetVersion |R Retrieves the version of a file]
  133. FileGetVersion, OutputVar [, Filename]
  134. [FileMove |R Moves or renames one or more files]
  135. FileMove, Source, Dest [, Flag (1 = overwrite)]
  136. [FileMoveDir |R Moves folder along with all its contents]
  137. FileMoveDir, Source, Dest [, Flag (2 = overwrite)]
  138. [FileRead |R Reads all of file's text into variable]
  139. FileRead, OutputVar, Filename
  140. [FileReadLine |R specified line from file & stores text in variable]
  141. FileReadLine, OutputVar, Filename, LineNum
  142. [FileRecycle |R Sends file or directory to recycle bin]
  143. FileRecycle, FilePattern
  144. [FileRecycleEmpty |R Empties the recycle bin]
  145. FileRecycleEmpty [, C:\]
  146. [FileRemoveDir |R Deletes a folder]
  147. FileRemoveDir, Path [, Recurse? (1 = yes)]
  148. [FileSetAttrib |R Sets file/folder attributes]
  149. FileSetAttrib, Attributes(RASHNOT) [, FilePattern, OperateOnFolders?, Recurse?]
  150. [FileSetTime |R Changes datetime stamp of one or more files or folders]
  151. FileSetTime [, YYYYMMDDHH24MISS, FilePattern, WhichTime (M|C|A), OperateOnFolders?, Recurse?]
  152. [IfExist |R Checks for the existence of a file or folder]
  153. IfExist, File|Dir|Pattern
  154. [IfNotExist |R Checks for the existence of a file or folder]
  155. IfNotExist, File|Dir|Pattern
  156. [IniDelete |R Deletes a value from a standard format .ini file]
  157. IniDelete, Filename, Section [, Key]
  158. [IniRead |R Reads a value from a standard format .ini file]
  159. IniRead, OutputVar, Filename, Section, Key [, Default]
  160. [IniWrite |R Writes value to standard format .ini file]
  161. IniWrite, Value, Filename, Section, Key
  162. [Loop (files & folders) |R Retrieves files or folders, one at a time]
  163. Loop, C:\My Folder\*.txt [, IncludeFolders?, Recurse?]
  164. {
  165.     MsgBox Current file or folder name (with full path) is: %A_LoopFileFullPath%
  166.     MsgBox Same as above but built from two components: %A_LoopFileDir%\%A_LoopFileName%
  167. }
  168. [Loop (read file contents) |R Retrieves lines in text file, one at time]
  169. Loop, Read, InputFile [, OutputFile]
  170. {
  171.     MsgBox The current line is:`n%A_LoopReadLine%
  172.     FileAppend This text is appended to OutputFile (if present).`n
  173. }
  174. [SetWorkingDir |script's current working directory]
  175. SetWorkingDir, DirName
  176. [SplitPath |R Separates file name or URL into its name, directory, extension, & drive]
  177. SplitPath, InputVar [, OutFileName, OutDir, OutExtension, OutNameNoExt, OutDrive]
  178. ;
  179. ;
  180. ; --------------------------------------------------------------------
  181. ;              GUI, MsgBox, InputBox & Other Dialogs
  182. ; --------------------------------------------------------------------
  183. [FileSelectFile |F standard dialog  that allowsuser to select files]
  184. FileSelectFile, OutputVar [, Options, RootDir[\DefaultFilename], Prompt, Filter]
  185. [FileSelectFolder |F Displays select folder]
  186. FileSelectFolder, OutputVar [, *StartingFolder, Options, Prompt]
  187. [Gui |F Creates & manages windows & controls]
  188. GUI, sub-command [, Param2, Param3, Param4]
  189. [GuiControl |F Makes variety of changes to control in GUI window]
  190. GuiControl, Sub-command, ControlID [, Param3] 
  191. [GuiControlGet |F Information about control in GUI window]
  192. GuiControlGet, OutputVar [, Sub-command, ControlID, Param4]
  193. [IfMsgBox |F Which button was pushed by last MsgBox command]
  194. IfMsgBox, %ButtonName%
  195. [IL_Add |F Adds an icon or picture to an ImageList]
  196. IL_Add(ImageListID, Filename [, IconNumber, ResizeNonIcon?])
  197. [IL_Create |F Creates an empty ImageList]
  198. IL_Create([InitialCount, GrowCount, LargeIcons?])
  199. [IL_Destroy |F Destroys an ImageList]
  200. IL_Destroy(ImageListID)
  201. [LV_Add |F Adds a row to a ListView]
  202. LV_Add([Options, Col1, Col2, ...])
  203. [LV_Delete |F Deletes a row from a ListView]
  204. LV_Delete([RowNumber])
  205. [LV_DeleteCol |F Delets a column from a ListView]
  206. LV_DeleteCol(ColumnNumber)
  207. [LV_GetCount |F Gets the total rows in a ListView]
  208. LV_GetCount(["S"])
  209. [LV_GetNext |F Finds the next selected, checked, or focused item in a ListView]
  210. LV_GetNext([StartingRowNumber, "C|F"])
  211. [LV_GetText |F Retrieves the text from rows or column headers in a ListView]
  212. LV_GetText(OutputVar, RowNumber [, ColumnNumber])
  213. [LV_Insert |F Inserts a row into a ListView]
  214. LV_Insert(RowNumber [, Options, Col1, Col2, ...])
  215. [LV_InsertCol |F Inserts a column into a ListView]
  216. LV_InsertCol(ColumnNumber [, Options, ColumnTitle])
  217. [LV_Modify |F Modifies a row in a ListView]
  218. LV_Modify(RowNumber, Options [, NewCol1, NewCol2, ...])
  219. [LV_ModifyCol |F Modifies a column in a ListView]
  220. LV_ModifyCol([ColumnNumber, Options, ColumnTitle])
  221. [LV_SetImageList |F Assigns an ImageList to a ListView]
  222. LV_SetImageList(ImageListID [, 0|1|2])
  223. [InputBox |F Displays an input box to ask to enter string]
  224. InputBox, OutputVar [, Title, Prompt, HIDE, Width, Height, X, Y, Font, Timeout, Default]
  225. [MsgBox |F Displays simple message box]
  226. MsgBox, Text
  227. [MsgBox+ |F Displays simple message box with optional timeout]
  228. MsgBox, %options%, %title%, %text%, %timeoutoptional%
  229. [Progress |F Creates or updates window containing progress bar]
  230. Progress, Param1 [, SubText, MainText, WinTitle, FontName]
  231. [SB_SetIcon |F Displays an icon to the left of the text]
  232. SB_SetIcon(Filename [, IconNumber, PartNumber])
  233. [SB_SetParts |F Divides the bar into multiple sections]
  234. SB_SetParts([Width1, Width2, ... Width255])
  235. [SB_SetText |F Displays text in the bar]
  236. SB_SetText(NewText [, PartNumber, Style])
  237. [SplashImage |F Creates or updates window containing image]
  238. SplashImage [, ImageFile, Options, SubText, MainText, WinTitle, FontName]
  239. [SplashTextOn |F customizable text popup window]
  240. SplashTextOn [, Width, Height, Title, Text]
  241. [SplashTextOff |F above window]
  242. SplashTextOff
  243. [ToolTip |F Creates an always-on-top window anywhere onscreen]
  244. ToolTip [, Text, X, Y, WhichToolTip]
  245. [TrayTip |F Creates balloon message window neartray icon]
  246. TrayTip [, Title, Text, Seconds, Options]
  247. [TV_Add |F Adds a new item to the TreeView]
  248. TV_Add(Name, [ParentItemID, Options])
  249. [TV_Delete |F Deletes an item (or all items) from the Tree]
  250. TV_Delete([ItemID])
  251. [TV_GetChild |F Returns the ID of the item's top child]
  252. TV_GetChild(ParentItemID)
  253. [TV_GetCount |F Returns the number of items in the tree]
  254. TV_GetCount()
  255. [TV_GetNext |F Returns the ID of the sibling below the item (or traverses entire tree)]
  256. TV_GetNext([ItemID, "Checked | Full"])
  257. [TV_Get |F Returns expanded/checked/bold status of the item]
  258. TV_Get(ItemID, "Expand | Check | Bold")
  259. [TV_GetParent |F Returns the ID of the item's parent (or 0)]
  260. TV_GetParent(ItemID)
  261. [TV_GetPrev |F Returns the ID of the sibling above the item]
  262. TV_GetPrev(ItemID)
  263. [TV_GetSelection |F Returns the ID of the selected item]
  264. TV_GetSelection()
  265. [TV_GetText |F Retrieves the item's text/name]
  266. TV_GetText(OutputVar, ItemID)
  267. [TV_Modify |F Modifies the attributes and/or name of an item]
  268. TV_Modify(ItemID [, Options, NewName])
  269. ;
  270. ;
  271. ; --------------------------------------------------------------------
  272. ;                      Keyboard & Mouse Control
  273. ; --------------------------------------------------------------------
  274. [Hotkey |M Creates, modifies, enables, or disables hotkey]
  275. Hotkey, KeyName [, Label, Options]
  276. [ListHotkeys |M Displays hotkeys in use bycurrent script]
  277. ListHotkeys
  278. [Pause |M Pauses script's current thread]
  279. Pause [, On|Off|Toggle, OperateOnUnderlyingThread?]
  280. [Reload |M Replace scurrently running instance of script]
  281. Reload
  282. [Suspend |M Disables all or selected hotkeys]
  283. Suspend [, Mode]
  284. [BlockInput |M Dis/enables mouse & keyboard]
  285. BlockInput, %BlockInput%
  286. [ControlSend |M to window or control]
  287. ControlSend [, Control, Keys, WinTitle, WinText, ExcludeTitle, ExcludeText]
  288. [ControlSendRaw |M to window or control]
  289. ControlSendRaw [, Control, Keys, WinTitle, WinText, ExcludeTitle, ExcludeText]
  290. [GetKeyState |M Checks if key or button is down or up]
  291. GetKeyState, OutputVar, WhichKey [, Mode (P|T)]
  292. [KeyHistory |M History of most recent keystrokes and mouse clicks]
  293. KeyHistory
  294. [KeyWait |M Waits for key or button to be released or pressed down]
  295. KeyWait, KeyName [, Options]
  296. [Input |M Waits for the user to type string]
  297. Input [, OutputVar, Options, EndKeys, MatchList]
  298. [Send |M simulated keystrokes to active window]
  299. Send, Keys
  300. [SendEvent |M simulated keystrokes to active window]
  301. SendEvent, Keys
  302. [SendInput |M simulated fast keystrokes to active window]
  303. SendInput, Keys
  304. [SendMode |M Makes Send synonymous with SendInput/Play]
  305. SendMode, Event|Play|Input|InputThenPlay
  306. [SendPlay |M simulated keystrokes to active window]
  307. SendPlay, Keys
  308. [SendRaw |M simulated keystrokes to active window]
  309. SendRaw, Keys
  310. [SetKeyDelay |M Sets delay after each keystroke]
  311. SetKeyDelay [, Delay, PressDuration]
  312. [SetNumlockState |M state of Numlock key]
  313. SetNumLockState, On|Off|AlwaysOn|AlwaysOff
  314. [SetScrollLockState |M state of Scrolllock key]
  315. SetScrollLockState, On|Off|AlwaysOn|AlwaysOff
  316. [SetCapslockState |M state of Capslock key]
  317. SetCapsLockState, On|Off|AlwaysOn|AlwaysOff
  318. [SetStoreCapslockModeSend |M Whether to restore state of CapsLock]
  319. SetStoreCapslockMode, On|Off|AlwaysOn|AlwaysOff
  320. [Click |M Clicks a mouse button or turns the wheel]
  321. Click [, Options]
  322. [ControlClick |M Mouse button or mouse wheel event to control]
  323. ControlClick [, Control-or-Pos, WinTitle, WinText, WhichButton, ClickCount, Options, ExcludeTitle, ExcludeText]
  324. [MouseClick |M Clicks or holds mouse button, or turns mouse wheel]
  325. MouseClick, WhichButton [, X, Y, ClickCount, Speed, D|U, R]
  326. [MouseClickDrag |M Clicks, holds mouse button, moves, releases]
  327. MouseClickDrag, WhichButton, X1, Y1, X2, Y2 [, Speed, R]
  328. [MouseGetPos |M Retrieves current position of mouse cursor]
  329. MouseGetPos, [OutputVarX, OutputVarY, OutputVarWin, OutputVarControl, 1|2|3]
  330. [MouseMove |M Moves mouse cursor]
  331. MouseMove, X, Y [, Speed, R]
  332. [SetDefaultMouseSpeed |M Mouse speed if unspecified]
  333. SetDefaultMouseSpeed, Speed
  334. [SetMouseDelay |M Delay after each mouse movement or click]
  335. SetMouseDelay, Delay
  336. ;
  337. ;
  338. ; --------------------------------------------------------------------
  339. ;                         Process Management
  340. ; --------------------------------------------------------------------
  341. [Exit |D Exits current thread]
  342. Exit [, ExitCode]
  343. [ExitApp |D Terminates script unconditionally]
  344. ExitApp [, ExitCode]
  345. [OnExit |D Specifies subroutine to run whenscript exits]
  346. OnExit [, Label]
  347. [OutputDebug |D Sends a string to the debugger for display]
  348. OutputDebug, Text
  349. [Process |D Performs operations on process]
  350. Process, %cmd%, PID-or-Name [, Param3]
  351. [Run |D Runs an external program]
  352. Run, Target [, WorkingDir, Max|Min|Hide|UseErrorLevel, OutputVarPID]
  353. [RunAs |D Specifies user credentials to use Run and RunWait]
  354. RunAs [, User, Password, Domain]
  355. [RunWait |D Runs an external program & waits u]
  356. RunWait, Target [, WorkingDir, Max|Min|Hide|UseErrorLevel, OutputVarPID]
  357. [Shutdown |D Shuts down, restarts, or logs offsystem]
  358. Shutdown, Code
  359. [Sleep |D Waits specified amount of time before continuing]
  360. Sleep, Delay
  361. ;
  362. ;
  363. ; --------------------------------------------------------------------
  364. ;                         String Management
  365. ; --------------------------------------------------------------------
  366. [EnvGet |N Retrieves an environment variable]
  367. EnvGet, OutputVar, EnvVarName
  368. [EnvSet |N Writes value to variable contained in environment]
  369. EnvSet, EnvVar, Value
  370. [FormatTime |N Transforms timestamp into specified date/time format]
  371. FormatTime, OutputVar [, YYYYMMDDHH24MISS, Format]
  372. [If |N If blank or 0]
  373. If var
  374. [IfEqual |N If var = value]
  375. IfEqual, var, value
  376. [IfNotEqual |N If var <> value]
  377. IfNotEqual, var, value
  378. [IfGreater |N If var > value]
  379. IfGreater, var, value
  380. [IfGreaterOrEqual |N If var >= value]
  381. IfGreaterOrEqual, var, value
  382. [IfLess |N If var < value]
  383. IfLess, var, value
  384. [IfLessOrEqual |N If var <= value]
  385. IfLessOrEqual, var, value
  386. [IfInString |N Checks if variable contains specified string]
  387. IfInString, var, SearchString
  388. [IfNotInString |N Checks if variable contains specified string]
  389. IfNotInString, var, SearchString
  390. [InStr |N Searches for substring]
  391. InStr(Haystack, Needle [, CaseSensitive?, StartingPos])
  392. [Loop (parse string) |N Retrieves substrings from a string]
  393. Loop, Parse, InputVar [, Delimiters|CSV, OmitChars]
  394. {
  395.     MsgBox The current field is: %A_LoopField%
  396. }
  397. [RegExMatch |N Searches for a pattern (regular expression)]
  398. RegExMatch(Haystack, NeedleRegEx [, UnquotedOutputVar = "", StartingPos = 1])
  399. [RegExReplace |N Replaces a pattern (regular expression)]
  400. RegExReplace(Haystack, NeedleRegEx [, Replacement = "", OutputVarCount = "", Limit = -1, StartingPos = 1])
  401. [SetEnv |N Assigns value to variable.]
  402. SetEnv, var, Value
  403. [SetFormat |N Sets format of integers & floating point numbers]
  404. SetFormat, NumberType, Format
  405. [Sort |N Arranges in alphabetical, numerical, or random order]
  406. Sort, varName [, Options]
  407. [StringCaseSense |N whether string comparisons are case sensitive (default is no)]
  408. StringCaseSense, On|Off|Locale
  409. [StringGetPos |N Position ofspecified substring within string]
  410. StringGetPos, OutputVar, InputVar, SearchText [, L#|R#, Offset]
  411. [StringLeft |N Retrieves number of characters fromleft hand sid]
  412. StringLeft, OutputVar, InputVar, Count
  413. [StringRight |N Retrieves number of characters fromright hand sid]
  414. StringRight, OutputVar, InputVar, Count
  415. [StringLen |N Count of how many characters are in string]
  416. StringLen, OutputVar, InputVar
  417. [StrLen |N Length of string]
  418. StrLen(String)
  419. [StringLower |N Converts string to lowercase]
  420. StringLower, OutputVar, InputVar [, T]
  421. [StringUpper |N Converts string to uppercase]
  422. StringUpper, OutputVar, InputVar [, T]
  423. [StringMid |N Retrieves characters from specified position in string]
  424. StringMid, OutputVar, InputVar, StartChar [, Count, L]
  425. [StringReplace |N Replaces the specified substring with a new string]
  426. StringReplace, OutputVar, InputVar, SearchText [, ReplaceText, ReplaceAll?] 
  427. [StringSplit |N An array of substrings using specified delimiters]
  428. StringSplit, OutputArray, InputVar [, Delimiters, OmitChars]
  429. [StringTrimLeft |N Removes number of characters from left side of a string]
  430. StringTrimLeft, OutputVar, InputVar, Count
  431. [StringTrimRight |N Removes number of characters from right side of a string]
  432. StringTrimRight, OutputVar, InputVar, Count
  433. ;
  434. ;
  435. ; --------------------------------------------------------------------
  436. ;                         Window Management
  437. ; --------------------------------------------------------------------
  438. [WinMenuSelectItem |P menu item frommenu bar of window]
  439. WinMenuSelectItem, WinTitle, WinText, Menu [, SubMenu1, SubMenu2, SubMenu3, SubMenu4, SubMenu5, SubMenu6, ExcludeTitle, ExcludeText]
  440. [SetControlDelay |P delay after each control-modifying command]
  441. SetControlDelay, Delay
  442. [SendMessage |P Sends message to window or control]
  443. SendMessage, Msg [, wParam, lParam, Control, WinTitle, WinText, ExcludeTitle, ExcludeText]
  444. [PostMessage |P Places message queue of window or control]
  445. PostMessage, Msg [, wParam, lParam, Control, WinTitle, WinText, ExcludeTitle, ExcludeText]
  446. [Menu |P Creates, deletes, modifies & displays menus & menu items]
  447. Menu, MenuName, Cmd [, P3, P4, P5]
  448. [Control |P Makes variety of changes to control]
  449. Control, Cmd [, Value, Control, WinTitle, WinText, ExcludeTitle, ExcludeText]
  450. [ControlFocus |P Input focus to given control on window]
  451. ControlFocus [,Control, WinTitle, WinText, ExcludeTitle, ExcludeText]
  452. [ControlGet |P Retrieves various types of information about control]
  453. ControlGet, OutputVar, Cmd [, Value, Control, WinTitle, WinText, ExcludeTitle, ExcludeText]
  454. [ControlGetFocus |P Which control of target window has focus]
  455. ControlGetFocus, OutputVar [WinTitle, WinText, ExcludeTitle, ExcludeText]
  456. [ControlGetPos |P position & size of control]
  457. ControlGetPos [, X, Y, Width, Height, Control, WinTitle, WinText, ExcludeTitle, ExcludeText]
  458. [ControlGetText |P text from control]
  459. ControlGetText, OutputVar [, Control, WinTitle, WinText, ExcludeTitle, ExcludeText]
  460. [ControlMove |P Moves or resizes control]
  461. ControlMove, Control, X, Y, Width, Height [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  462. [ControlSetText |text of control]
  463. ControlSetText [, Control, NewText, WinTitle, WinText, ExcludeTitle, ExcludeText] 
  464. [GroupActivate |P next window in window group]
  465. GroupActivate, GroupName [, R]
  466. [GroupAdd |P Adds window specification to group, creating group if necessary]
  467. GroupAdd, GroupName, WinTitle [, WinText, Label, ExcludeTitle, ExcludeText]
  468. [GroupClose |P Closes active window if it was just activated by GroupActivate/Deactivate]
  469. GroupClose, GroupName [, A|R]
  470. [GroupDeactivate |P to Activates next window not in group]
  471. GroupDeactivate, GroupName [, R]
  472. [DetectHiddenText |P Invisible text in window is seen]
  473. DetectHiddenText, %onoff%
  474. [DetectHiddenWindows |P Invisible windows are seen by script]
  475. DetectHiddenWindows, %onoff%
  476. [DllCall |P Calls a function in a DLL]
  477. DllCall("[DllFile\]Function" [, "Type1", Arg1, "Type2", Arg2, "Cdecl ReturnType"])
  478. [IfWinActive |]
  479. IfWinActive [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  480. [IfWinNotActive |]
  481. IfWinNotActive [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  482. [IfWinExist |]
  483. IfWinExist [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  484. [IfWinNotExist |]
  485. IfWinNotExist [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  486. [IsLabel |]
  487. IsLabel(LabelName)
  488. [OnMessage |]
  489. OnMessage(MsgNumber [, "FunctionName"])
  490. [SetTitleMatchMode |P window titles search mode]
  491. SetTitleMatchMode, 1|2|3|RegEx|Fast|Slow
  492. [SetWinDelay |P Sets delay after windowing command]
  493. SetWinDelay, Delay
  494. [StatusBarGetText |P Retrieves text from standard status bar control]
  495. StatusBarGetText, OutputVar [, Part#, WinTitle, WinText, ExcludeTitle, ExcludeText]
  496. [StatusBarWait |P Waits until window's status bar contains specified string]
  497. StatusBarWait [, BarText, Seconds, Part#, WinTitle, WinText, Interval, ExcludeTitle, ExcludeText] 
  498. [WinActivate |P Brings window to foreground]
  499. WinActivate [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  500. [WinActivateBottom |P Activates least recently used (bottommost) matching window]
  501. WinActivateBottom [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  502. [WinClose |P Closes window]
  503. WinClose [, WinTitle, WinText, SecondsToWait, ExcludeTitle, ExcludeText]
  504. [WinGetActiveStats |P WinGetActiveTitle and WinGetPos in one command]
  505. WinGetActiveStats, Title, Width, Height, X, Y
  506. [WinGetActiveTitle |P title of active window]
  507. WinGetActiveTitle, OutputVar
  508. [WinGetClass |P Retrieves window's class name]
  509. WinGetClass, OutputVar [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  510. [WinGet |P Retrieves window's ID, process ID/Name, or list of its controls. Can retrieve list of windows matching specified criteria]
  511. WinGet, OutputVar [, Cmd, WinTitle, WinText, ExcludeTitle, ExcludeText]
  512. [WinGetPos |P Retrieves position & size of given window]
  513. WinGetPos [, X, Y, Width, Height, WinTitle, WinText, ExcludeTitle, ExcludeText]
  514. [WinGetText |P Retrieves text from window]
  515. WinGetText, OutputVar [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  516. [WinGetTitle |P Retrieves title of window]
  517. WinGetTitle, OutputVar [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  518. [WinHide |P Hides window]
  519. WinHide [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  520. [WinKill |P Forces window to close]
  521. WinKill [, WinTitle, WinText, SecondsToWait, ExcludeTitle, ExcludeText]
  522. [WinMaximize |P Enlarges window to its Max size]
  523. WinMaximize [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  524. [WinMinimize |P Collapses window into button on taskbar]
  525. WinMinimize [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  526. [WinMinimizeAll |P all windows]
  527. WinMinimizeAll
  528. [WinMinimizeAllUndo |P effect of previous WinMinimizeAll]
  529. WinMinimizeAllUndo
  530. [WinMove |P Changes position and/or size of window]
  531. WinMove, WinTitle, WinText, X, Y [, Width, Height, ExcludeTitle, ExcludeText]
  532. [WinRestore |P Unminimizes or unmaximizes]
  533. WinRestore [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  534. [WinSet |P Makes window always on top, transparent, or other changes]
  535. WinSet, Attribute, Value [, WinTitle, WinText,  ExcludeTitle, ExcludeText]
  536. [WinSetTitle |P Changes title of window]
  537. WinSetTitle, WinTitle, WinText, NewTitle [, ExcludeTitle, ExcludeText]
  538. [WinShow |P Unhides hidden window]
  539. WinShow [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  540. [WinWait |P until specified window exists]
  541. WinWait, WinTitle, WinText, Seconds [, ExcludeTitle, ExcludeText]
  542. [WinWaitActive |P until specified window is active]
  543. WinWaitActive [, WinTitle, WinText, Seconds, ExcludeTitle, ExcludeText]
  544. [WinWaitClose |P until specified window does not exist]
  545. WinWaitClose, WinTitle, WinText, Seconds [, ExcludeTitle, ExcludeText]
  546. [WinWaitNotActive |P until specified window is not active]
  547. WinWaitNotActive [, WinTitle, WinText, Seconds, ExcludeTitle, ExcludeText]
  548. ;
  549. ;
  550. ; --------------------------------------------------------------------
  551. ;                             Directives
  552. ; --------------------------------------------------------------------
  553. [Directives |B Change directives]
  554. ;;;; Directives, required by this script (do not change)
  555. %AllowSameLineComments%
  556. %CommentFlag%
  557. %ErrorStdOut%
  558. %EscapeChar%
  559. %HotkeyInterval%
  560. %HotkeyModifierTimeout%
  561. %Hotstring%
  562. %InstallKeybdHook%
  563. %InstallMouseHook%
  564. %MaxHotkeysPerInterval%
  565. %MaxMem%
  566. %MaxThreads%
  567. %MaxThreadsBuffer%
  568. %MaxThreadsPerHotkey%
  569. %NoTrayIcon%
  570. %Persistent%
  571. %SingleInstance%
  572. %UseHook%
  573. %WinActivateForce%
  574.  
  575. [AllowSameLineComments |B Only for use in .aut files]
  576. %AllowSameLineComments%
  577.  
  578. [CommentFlag |B Changes script's comment symbol]
  579. %CommentFlag%
  580.  
  581. [ErrorStdOut |B Sends any syntax error]
  582. %ErrorStdOut%
  583.  
  584. [EscapeChar |B Changes script's escape character]
  585. %EscapeChar%
  586.  
  587. [HotkeyInterval |B rate of hotkey activations]
  588. %HotkeyInterval%
  589.  
  590. [HotkeyModifierTimeout |B behavior of hotkey modifiers: CTRL, ALT, WIN, & SHIFT]
  591. %HotkeyModifierTimeout%
  592.  
  593. [Hotstring |B Changes hotstring options or ending characters]
  594. %Hotstring%
  595.  
  596. [Include |B Include external file]
  597. %Include%
  598.  
  599. [IncludeAgain |B Include external file again]
  600. %IncludeAgain%
  601.  
  602. [InstallKeybdHook |B Unconditional installation of keyboard hook]
  603. %InstallKeybdHook%
  604.  
  605. [InstallMouseHook |B Unconditional installation of mouse hook]
  606. %InstallMouseHook%
  607.  
  608. [MaxHotkeysPerInterval |B Rate of hotkey activations]
  609. %MaxHotkeysPerInterval%
  610.  
  611. [MaxMem |B Max capacity of each var, in megabytes]
  612. %MaxMem%
  613.  
  614. [MaxThreads |B Max number of simultaneous threads]
  615. %MaxThreads%
  616.  
  617. [MaxThreadsBuffer |B Causes hotkeys to buffer]
  618. %MaxThreadsBuffer%
  619.  
  620. [MaxThreadsPerHotkey |B Max number of simultaneous threads per hotkey]
  621. %MaxThreadsPerHotkey%
  622.  
  623. [NoTrayIcon |B Disables showing of tray icon]
  624. %NoTrayIcon%
  625.  
  626. [Persistent |B Keeps non-hotkey script permanently running]
  627. %Persistent%
  628. [SingleInstance |B More than one instance of script]
  629. %SingleInstance%
  630.  
  631. [UseHook |B Forces use of hook to implement keyboard hotkeys]
  632. %UseHook%
  633.  
  634. [WinActivateForce |B Skip gentle method, go straight to forceful method]
  635. %WinActivateForce%
  636.  
  637. ;
  638. ;
  639. ; --------------------------------------------------------------------
  640. ;                     Misc. & Unsorted Commands
  641. ; --------------------------------------------------------------------
  642. [Abs |F Absolute value]
  643. Abs(Number)
  644. [ACos |]
  645. ACos(Number)
  646. [ASin |]
  647. ASin(Number)
  648. [ATan |]
  649. ATan(Number)
  650. [Cos |]
  651. Cos(Number)
  652. [Sin |]
  653. Sin(Number)
  654. [Tan |]
  655. Tan(Number)
  656. [Asc |F ASCII code of a first char in string]
  657. Asc(String)
  658. [AutoTrim | Whether SetEnv & var = remove spaces & tabs]
  659. AutoTrim, %onoff%
  660. [Break | Exits (terminates) loop. Valid only inside loop]
  661. Break
  662. [Chr |F Get character that corresponds to ASCII code]
  663. Chr(Number)
  664. [Ceil |F Rounds up to nearest integer]
  665. Ceil(Number)
  666. [ClipWait | Waits until clipboard contains data]
  667. ClipWait [, SecondsToWait, 1]
  668. [Continue | Skips rest of current loop iteration & begins new one]
  669. Continue
  670. [CoordMode | Sets coordinate mode]
  671. CoordMode, ToolTip|Pixel|Mouse [, Screen|Relative]
  672. [Edit | Opens current script for editing in associated editor]
  673. Edit
  674. [Else | Specifies command to perform IF-command = FALSE]
  675. Else
  676. [EnvAdd |Var += Value]
  677. EnvAdd, Var, Value [, TimeUnits]
  678. [EnvDiv | var /= value]
  679. EnvDiv, Var, Value  
  680. [EnvMult | var *= value]
  681. EnvMult, Var, Value 
  682. [EnvSub | var -= value]
  683. EnvSub, Var, Value [, TimeUnits]
  684. [EnvUpdate | Notifies OS that environment variables have changed]
  685. EnvUpdate
  686. [Exp | "e" raised to a power]
  687. Exp(Number)
  688. [Floor |F Rounds down to nearest integer]
  689. Floor(Number)
  690. [Gosub | Jumps to label]
  691. Gosub, Label
  692. [Goto | Jumps to label]
  693. Goto, Label
  694. [Break | Exits loop]
  695. Break
  696. [Continue | Skips rest of current loop iteration and begins new one]
  697. Continue
  698. [If Else | Compares a variable to a value]
  699. if var = Value | IfWinExist, WinTitle | etc.
  700. {
  701.     command1
  702.     command2
  703. }
  704. else
  705. {
  706.     command1
  707.     command2
  708. }
  709. [Loop | Perform a series of commands repeatedly]
  710. Loop [, Count]
  711. {
  712.     If var%a_index% = 
  713.         break
  714. }
  715. [Loop (registry) | Retrieves contents of registry subkey]
  716. Loop, HKLM|HKU|HKCU|HKCR|HKCC [, Key, IncludeSubkeys?, Recurse?]
  717. {
  718.     MsgBox The current value or subkey is %A_LoopRegName% and its type is %A_LoopRegType%.
  719. }
  720. [ImageSearch | Searches a region of the screen for an image]
  721. ImageSearch, OutputVarX, OutputVarY, X1, Y1, X2, Y2, ImageFile
  722. [Ln |]
  723. Ln(Number)
  724. [Log |]
  725. Log(Number)
  726. [ListLines | Displays script lines most recently executed]
  727. ListLines
  728. [ListVars | Displays script's variables and value]
  729. ListVars
  730. [Mod |F Find remainder]
  731. Mod(Dividend, Divisor)
  732. [PixelGetColor | Color of pixel at specified x, y screen coordinates]
  733. PixelGetColor, OutputVar, X, Y [, Alt|Slow|RGB]
  734. [PixelSearch | Searches screen for pixel of color(s)]
  735. PixelSearch, OutputVarX, OutputVarY, X1, Y1, X2, Y2, ColorID [, variation, Fast|RGB]
  736. [Round |F Rounds off a number]
  737. Round(Number [, Places])
  738. [Random | Generates pseudo-random number]
  739. Random, OutputVar [, Min, Max]
  740. [RegDelete | Deletes subkey or value from registry]
  741. RegDelete, %RootKey%, |SubKey [, ValueName]
  742. [RegRead | Reads value from registry]
  743. RegRead, |OutputVar, %RootKey%, SubKey [, ValueName]
  744. [RegWrite | Writes value to registry]
  745. RegWrite, %ValueType%, %RootKey%, |SubKey [, ValueName, Value]
  746. [Return | Returns from subroutine]
  747. Return [, Expression]
  748. [SetBatchLines | how fast script will run (affects CPU utilization)]
  749. SetBatchLines, -1 | 20ms | LineCount
  750. [SetTimer | Causes subroutine launch at specified time interval]
  751. SetTimer, %label% , [%onoff%, Priority]
  752. [SoundBeep | Emits a tone from the PC speaker]
  753. SoundBeep [, Frequency, Duration]
  754. [SoundGet | Retrieves various settings from sound device]
  755. SoundGet, OutputVar [, ComponentType, ControlType, DeviceNumber]
  756. [SoundGetWaveVolume | wave output volume from sound device]
  757. SoundGetWaveVolume, OutputVar [, DeviceNumber]
  758. [SoundPlay | Plays sound, video, or other supported file type]
  759. SoundPlay, %sound%, %wait%
  760. [SoundSet | Changes various settings of sound device]
  761. SoundSet, NewSetting [, ComponentType, ControlType, DeviceNumber]
  762. [SoundSetWaveVolume | wave output volume for sound device]
  763. SoundSetWaveVolume, Percent [, DeviceNumber]
  764. [Sqrt |]
  765. Sqrt(Number)
  766. [SysGet | Retrieves screen info & system properties]
  767. SysGet, OutputVar, Sub-command [, Param3] 
  768. [Critical | Prevents the current thread from being interrupted]
  769. Critical [, Off]
  770. [Thread | Disables timesr or sets priority/interruptibility of threads]
  771. Thread, Setting, P2 [, P3]
  772. [Transform | Performs miscellaneous math functions]
  773. Transform, OutputVar, Cmd, Value1 [, Value2]
  774. [URLDownloadToFile | file from Internet]
  775. URLDownloadToFile, URL, Filename
  776. [VarSetCapacity | Shrinks or enlarges a variable]
  777. GrantedCapacity := VarSetCapacity(Var [, RequestedCapacity, FillByte])
  778. ;
  779. ;
  780. ; --------------------------------------------------------------------
  781. ;                              Keywords
  782. ; --------------------------------------------------------------------
  783. [Keywords]
  784. A_AhkPath
  785. A_AhkVersion
  786. A_AppData
  787. A_AppDataCommon
  788. A_Temp
  789. A_AutoTrim
  790. A_BatchLines
  791. A_CaretX
  792. A_CaretY
  793. A_ComputerName
  794. A_ControlDelay
  795. A_CURSOR
  796. A_DD
  797. A_DDD
  798. A_DDDD
  799. A_DefaultMouseSpeed
  800. A_Desktop
  801. A_DesktopCommon
  802. A_DetectHiddenText
  803. A_DetectHiddenWindows
  804. A_EndChar
  805. A_EventInfo
  806. A_ExitReason
  807. A_FormatFloat
  808. A_FormatInteger
  809. A_Gui
  810. A_GuiEvent
  811. A_GuiControl
  812. A_GuiControlEvent
  813. A_GuiHeight
  814. A_GuiWidth
  815. A_GuiX
  816. A_GuiY
  817. A_HOUR
  818. A_IconFile
  819. A_IconHidden
  820. A_IconNumber
  821. A_IconTip
  822. A_INDEX
  823. A_IPADDRESS1
  824. A_IPADDRESS2
  825. A_IPADDRESS3
  826. A_IPADDRESS4
  827. A_ISADMIN
  828. A_IsCompiled
  829. A_IsSuspended
  830. A_KeyDelay
  831. A_Language
  832. A_LastError
  833. A_LineFile
  834. A_LineNumber
  835. A_LOOPFIELD
  836. A_LOOPFILEATTRIB
  837. A_LOOPFILEDIR
  838. A_LoopFileExt
  839. A_LOOPFILEFULLPATH
  840. A_LoopFileLongPath
  841. A_LOOPFILENAME
  842. A_LOOPFILESHORTNAME
  843. A_LoopFileShortPath
  844. A_LOOPFILESIZE
  845. A_LOOPFILESIZEKB
  846. A_LOOPFILESIZEMB
  847. A_LOOPFILETIMEACCESSED
  848. A_LOOPFILETIMECREATED
  849. A_LOOPFILETIMEMODIFIED
  850. A_LOOPREADLINE
  851. A_LOOPREGKEY
  852. A_LOOPREGNAME
  853. A_LOOPREGSUBKEY
  854. A_LOOPREGTIMEMODIFIED
  855. A_LOOPREGTYPE
  856. A_MDAY
  857. A_Min
  858. A_MM
  859. A_MMM
  860. A_MMMM
  861. A_Mon
  862. A_MouseDelay
  863. A_MSec
  864. A_MyDocuments
  865. A_Now
  866. A_NowUTC
  867. A_NUMBATCHLINES
  868. A_OSTYPE
  869. A_OSVERSION
  870. A_PRIORHOTKEY
  871. ProgramFiles
  872. A_ProgramFiles
  873. A_Programs
  874. A_ProgramsCommon
  875. A_ScreenHeight
  876. A_ScreenWidth
  877. A_SCRIPTDIR
  878. A_SCRIPTFULLPATH
  879. A_SCRIPTNAME
  880. A_SEC
  881. A_SPACE
  882. A_StartMenu
  883. A_StartMenuCommon
  884. A_Startup
  885. A_StartupCommon
  886. A_StringCaseSense
  887. A_TAB
  888. A_Temp
  889. A_THISHOTKEY
  890. A_ThisMenu
  891. A_ThisMenuItem
  892. A_ThisMenuPos
  893. A_TICKCOUNT
  894. A_TIMEIDLE
  895. A_TIMEIDLEPHYSICAL
  896. A_TIMESINCEPRIORHOTKEY
  897. A_TIMESINCETHISHOTKEY
  898. A_TitleMatchMode
  899. A_TitleMatchModeSpeed
  900. A_UserName
  901. A_WDAY
  902. A_WinDelay
  903. A_WinDir
  904. A_WORKINGDIR
  905. A_YDAY
  906. A_YEAR
  907. A_YWeek
  908. A_YYYY
  909. ALT
  910. ALTDOWN
  911. ALTUP
  912. APPSKEY
  913. ASC
  914. BACKSPACE
  915. {BLIND}
  916. {RAW}
  917. BS
  918. Capslock
  919. Clipboard
  920. ClipboardAll
  921. ComSpec
  922. True
  923. False
  924. CONTROL
  925. CTRL
  926. CTRLBREAK
  927. CTRLDOWN
  928. CTRLUP
  929. DEL
  930. DELETE
  931. DOWN
  932. END
  933. ENTER
  934. ERRORLEVEL
  935. ESC
  936. ESCAPE
  937. F1
  938. F10
  939. F11
  940. F12
  941. F13
  942. F14
  943. F15
  944. F16
  945. F17
  946. F18
  947. F19
  948. F2
  949. F20
  950. F21
  951. F22
  952. F23
  953. F24
  954. F3
  955. F4
  956. F5
  957. F6
  958. F7
  959. F8
  960. F9
  961. HOME
  962. INS
  963. INSERT
  964. Joy1
  965. Joy10
  966. Joy11
  967. Joy12
  968. Joy13
  969. Joy14
  970. Joy15
  971. Joy16
  972. Joy17
  973. Joy18
  974. Joy19
  975. Joy2
  976. Joy20
  977. Joy21
  978. Joy22
  979. Joy23
  980. Joy24
  981. Joy25
  982. Joy26
  983. Joy27
  984. Joy28
  985. Joy29
  986. Joy3
  987. Joy30
  988. Joy31
  989. Joy32
  990. Joy4
  991. Joy5
  992. Joy6
  993. Joy7
  994. Joy8
  995. Joy9
  996. JoyAxes
  997. JoyButtons
  998. JoyInfo
  999. JoyName
  1000. JoyPOV
  1001. JoyR
  1002. JoyU
  1003. JoyV
  1004. JoyX
  1005. JoyY
  1006. JoyZ
  1007. LALT
  1008. LButton
  1009. LCONTROL
  1010. LCTRL
  1011. LEFT
  1012. LSHIFT
  1013. LWIN
  1014. LWINDOWN
  1015. MButton
  1016. Numlock
  1017. NUMPAD0
  1018. NUMPAD1
  1019. NUMPAD2
  1020. NUMPAD3
  1021. NUMPAD4
  1022. NUMPAD5
  1023. NUMPAD6
  1024. NUMPAD7
  1025. NUMPAD8
  1026. NUMPAD9
  1027. NUMPADADD
  1028. NUMPADCLEAR
  1029. NUMPADDEL
  1030. NUMPADDIV
  1031. NUMPADDOT
  1032. NUMPADDOWN
  1033. NUMPADEND
  1034. NUMPADENTER
  1035. NUMPADHOME
  1036. NUMPADINS
  1037. NUMPADLEFT
  1038. NUMPADMULT
  1039. NUMPADPGDN
  1040. NUMPADPGUP
  1041. NUMPADRIGHT
  1042. NUMPADSUB
  1043. NUMPADUP
  1044. PAUSE
  1045. PGDN
  1046. PGUP
  1047. PRINTSCREEN
  1048. RALT
  1049. RButton
  1050. RCONTROL
  1051. RCTRL
  1052. RIGHT
  1053. RSHIFT
  1054. RWIN
  1055. RWINDOWN
  1056. ScrollLock
  1057. SHIFT
  1058. SHIFTDOWN
  1059. SHIFTUP
  1060. SPACE
  1061. TAB
  1062. UP
  1063. WheelDown
  1064. WheelUp
  1065. XButton1
  1066. XButton2
  1067. Browser_Back
  1068. Browser_Forward
  1069. Browser_Refresh
  1070. Browser_Stop
  1071. Browser_Search
  1072. Browser_Favorites
  1073. Browser_Home
  1074. Volume_Mute
  1075. Volume_Down
  1076. Volume_Up
  1077. Media_Next
  1078. Media_Prev
  1079. Media_Stop
  1080. Media_Play_Pause
  1081. Launch_Mail
  1082. Launch_Media
  1083. Launch_App1
  1084. Launch_App2
  1085. ; Used with CoordMode or PixelXXX commands:
  1086. PIXEL
  1087. MOUSE
  1088. SCREEN
  1089. RELATIVE
  1090. RGB
  1091. ; Used with SetFormat and/or "if Var is [not] type" & BETWEEN/IN
  1092. Between
  1093. In
  1094. Integer
  1095. Float
  1096. Number
  1097. Digit
  1098. Xdigit
  1099. Alpha
  1100. Upper
  1101. Lower
  1102. Alnum
  1103. Time
  1104. Date
  1105. ; Omitted because it's a key name too: SPACE
  1106. ; Used with Drive/DriveGet and/or WinGet/WinSet:
  1107. AlwaysOnTop
  1108. Topmost
  1109. Bottom
  1110. Transparent
  1111. TransColor
  1112. Redraw
  1113. Region
  1114. ID
  1115. IDLast
  1116. ProcessName
  1117. MinMax
  1118. ControlList
  1119. Count
  1120. List
  1121. Capacity
  1122. StatusCD
  1123. Eject
  1124. Lock
  1125. Unlock
  1126. Label
  1127. FileSystem
  1128. Label
  1129. SetLabel
  1130. Serial
  1131. Type
  1132. Status
  1133. ; Time units for use with addition and subtraction:
  1134. Seconds
  1135. Minutes
  1136. Hours
  1137. Days
  1138. static
  1139. global
  1140. local
  1141. ByRef
  1142. ; For use with the Loop command:
  1143. Read
  1144. Parse
  1145. ; A_ExitReason
  1146. Logoff
  1147. Close
  1148. Error
  1149. Single
  1150. ; The following are Commented out because they are already a keywords due to being a commands:
  1151. ;Shutdown
  1152. ;Menu
  1153. ;Exit
  1154. ;Reload
  1155. ; Keywords used with the "menu" command:
  1156. Tray
  1157. Add
  1158. Rename
  1159. Check
  1160. UnCheck
  1161. ToggleCheck
  1162. Enable
  1163. Disable
  1164. ToggleEnable
  1165. Default
  1166. NoDefault
  1167. Standard
  1168. NoStandard
  1169. Color
  1170. Delete
  1171. DeleteAll
  1172. Icon
  1173. NoIcon
  1174. Tip
  1175. Click
  1176. Show
  1177. MainWindow
  1178. NoMainWindow
  1179. UseErrorLevel
  1180. ;Keywords used with GUI:
  1181. Font
  1182. Resize
  1183. Owner
  1184. Submit
  1185. NoHide
  1186. Minimize
  1187. Maximize
  1188. Restore
  1189. NoActivate
  1190. NA
  1191. Cancel
  1192. Destroy
  1193. Center
  1194. Text
  1195. Picture
  1196. Pic
  1197. GroupBox
  1198. Button
  1199. Checkbox
  1200. Radio
  1201. DropDownList
  1202. DDL
  1203. ComboBox
  1204. ListBox
  1205. ListView
  1206. TreeView
  1207. DateTime
  1208. MonthCal
  1209. UpDown
  1210. Slider
  1211. Tab
  1212. StatusBar
  1213. ; Note that Edit, Progress and Hotkey aren't included since they are already command keywords.
  1214. TabStop
  1215. Section
  1216. AltSubmit
  1217. Wrap
  1218. HScroll
  1219. VScroll
  1220. Border
  1221. Top
  1222. Bottom
  1223. Buttons
  1224. Expand
  1225. First
  1226. ImageList
  1227. Lines
  1228. WantCtrlA
  1229. WantF2
  1230. Vis
  1231. VisFirst
  1232. Number
  1233. Uppercase
  1234. Lowercase
  1235. Limit
  1236. Password
  1237. Multi
  1238. WantReturn
  1239. Group
  1240. Background
  1241. Theme
  1242. Caption
  1243. Delimiter
  1244. MinimizeBox
  1245. MaximizeBox
  1246. SysMenu
  1247. ToolWindow
  1248. Flash
  1249. Style
  1250. ExStyle
  1251. Check3
  1252. Checked
  1253. CheckedGray
  1254. ReadOnly
  1255. Password
  1256. Hidden
  1257. Left
  1258. Right
  1259. Center
  1260. NoTab
  1261. Section
  1262. Move
  1263. Focus
  1264. Hide
  1265. Choose
  1266. ChooseString
  1267. Text
  1268. Pos
  1269. Enabled
  1270. Disabled
  1271. Visible
  1272. LastFound
  1273. LastFoundExist
  1274. ; Already included with menu:
  1275. ;Show
  1276. ;Menu
  1277. ;Color
  1278. ;Edit
  1279. ;Default
  1280. ;Enable
  1281. ;Disable
  1282. ;Default
  1283. ; Keywords used with the Hotkey command:
  1284. AltTab
  1285. ShiftAltTab
  1286. AltTabMenu
  1287. AltTabAndMenu
  1288. AltTabMenuDismiss
  1289. ; Keywords used with the Transform command:
  1290. Unicode
  1291. Asc
  1292. Chr
  1293. Deref
  1294. Mod
  1295. Pow
  1296. Exp
  1297. Sqrt
  1298. Log
  1299. Ln
  1300. Round
  1301. Ceil
  1302. Floor
  1303. Abs
  1304. Sin
  1305. Cos
  1306. Tan
  1307. ASin
  1308. ACos
  1309. ATan
  1310. BitNot
  1311. BitAnd
  1312. BitOr
  1313. BitXOr
  1314. BitShiftLeft
  1315. BitShiftRight
  1316. ; Keywords used with "IfMsgBox":
  1317. Yes
  1318. No
  1319. Ok
  1320. Cancel
  1321. Abort
  1322. Retry
  1323. Ignore
  1324. TryAgain
  1325. ; Misc:
  1326. true
  1327. false
  1328. ; Registry root keys:
  1329. HKEY_LOCAL_MACHINE
  1330. HKEY_USERS
  1331. HKEY_CURRENT_USER
  1332. HKEY_CLASSES_ROOT
  1333. HKEY_CURRENT_CONFIG
  1334. HKLM
  1335. HKU
  1336. HKCU
  1337. HKCR
  1338. HKCC
  1339. ; Registry value types:
  1340. REG_SZ
  1341. REG_EXPAND_SZ
  1342. REG_MULTI_SZ
  1343. REG_DWORD
  1344. REG_BINARY
  1345. ; Window Management:
  1346. ahk_id
  1347. ahk_pid
  1348. ahk_class
  1349. ahk_group